<div id="mini_menu" class="">
    <?php
    $this->widget('common.widgets.PsDropDownMenu', array(
        'items' => array(
            array(
                'label' => '<img src="/images/icons/fugue/question-button-orange.png" />Help Centre',
                'url' => 'javascript:void(0)',
                'active' => $this->id == 'support',
                'items' => array(
                    array(
                        'label' => 'PropSage Campus',
                        'visible'=> !Yii::app()->user->checkModuleAccess('Propsage.WhiteLabel'),
                        'url' => 'http://campus.propsage.com/',
						'linkOptions' => array(
							'target' => '_blank',
						)
                    ),
//                    array(
//                        'label' => 'Online Support',
//                        'visible'=> !Yii::app()->user->checkModuleAccess('Propsage.WhiteLabel'),
//                        'url' => 'http://help.propsage.com/'
//                    ),
					array(
						'label' => 'Help & Support',
						// 'visible'=> !Yii::app()->user->checkModuleAccess('Propsage.WhiteLabel'),
//						'url' => array('/support/index'),
						'url' => 'http://help.propsage.com/',
						'linkOptions' => array(
							'target' => '_blank',
						)
					),
                )
            ),
//            array(
//                'label' => '<img src="/images/icons/farmfresh/16x16/education.png" />Training Centre',
//                'url' => 'javascript:void(0)',
//                'active' => $this->id == 'cpd',
//                'items' => array(
//					array(
//						'label' => 'My CPD Summary',
//						'url' => array('/account/profile/training'),
//					),
//					array(
//						'label' => 'Find Courses',
//						'url' => array('/course'),
//					)
//                )
//            ),
			array(
				'label' => '<img src="/images/icons/farmfresh/16x16/user.png" />My Account',
				'url' => 'javascript:void(0);',
				'active' => $this->module->id == 'account',
				'items' => array(
					array(
						'label' => 'Profile',
						'url' => array('/account/profile'),
						'active' => $this->id == 'account',
					),
					array(
						'label' => 'Billing History',
						'url' => array('/account/billing'),
						'active' => $this->id == 'account',
					),
					array(
						'label' => 'Buy Credits',
						'url' => array('/account/credit/buy'),
						'active' => $this->id == 'credit',
					)
				)
			),
            array(
                'label' => '<img src="/images/icons/fugue/navigation-000-button.png" />Logout',
                'url' => '/account/logout'
            ),
        ),
        'encodeLabel' => false,
        'activeCssClass' => 'current',
        'htmlOptions' => array(
            'class' => 'float-left clearfix',
        ),
        'config' => array(
            'delay' => 200,
            'animation' => array('height' => 'show'),
            'speed' => 100,
            'autoArrows' => true,
            'dropShadows' => false,
        ),
        'id' => 'mini_nav'
    ));
    ?>
</div>